/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.basicdata.standard.service;

import java.util.List;

import com.jeeplus.modules.basicdata.basictree.entity.PartDevice;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.basicdata.standard.entity.BasicdataPicUpload;
import com.jeeplus.modules.basicdata.standard.mapper.BasicdataPicUploadMapper;

/**
 * 图片上传Service
 * @author 王洋
 * @version 2020-09-17
 */
@Service
@Transactional(readOnly = true)
public class BasicdataPicUploadService extends CrudService<BasicdataPicUploadMapper, BasicdataPicUpload> {

	public BasicdataPicUpload get(String id) {
		return super.get(id);
	}
	
	public List<BasicdataPicUpload> findList(BasicdataPicUpload basicdataPicUpload) {
		return super.findList(basicdataPicUpload);
	}
	
	public Page<BasicdataPicUpload> findPage(Page<BasicdataPicUpload> page, BasicdataPicUpload basicdataPicUpload) {
		return super.findPage(page, basicdataPicUpload);
	}
	
	@Transactional(readOnly = false)
	public void save(BasicdataPicUpload basicdataPicUpload) {
		super.save(basicdataPicUpload);
	}
	
	@Transactional(readOnly = false)
	public void delete(BasicdataPicUpload basicdataPicUpload) {
		super.delete(basicdataPicUpload);
	}

	public BasicdataPicUpload getPicPartDeviceId(String basicdataPicUpload){return mapper.getPicPartDeviceId(basicdataPicUpload);}
}